package com.jkoss.wine.merchantOrder.service;

import com.jkoss.wine.merchantOrder.entity.MerchantBasket;
import com.jkoss.wine.merchantOrder.entity.MerchantOrder;
import com.jkoss.wine.merchantOrder.vo.MerchantOrderVo;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;

/**
 * 服务类
 * 
 * @Author Ning
 * @Version 1.0, 2018-10-05
 * @See
 * @Since com.jkoss.wine.merchantOrder.service
 * @Description: TODO
 */
public interface IMerchantOrderService extends IService<MerchantOrder> {
	Page selectOrderPage(Page page, Wrapper wrapper);

	List<MerchantOrderVo> selectVoByorid(Wrapper wrapper);

	Boolean insertMerchantBasket(MerchantOrder id) throws Exception;

	List<MerchantOrderVo> selectVoByoridNormid(Wrapper wrapper);

	/**
	 * 门店列表
	 * 
	 * @param page
	 * @param wrapper
	 * @return
	 */
	Page selectVoByshopid(Page page, Wrapper wrapper);

	/**
	 * 门店列表-订单详情
	 * 
	 * @param page
	 * @param wrapper
	 * @return
	 */
	Page selectShopOL(Page page, Wrapper wrapper);

	Page selectVoAccountType(Page page, Wrapper wrapper);

	/**
	 * 查询订单流水
	 * 
	 * @param page
	 * @param wrapper
	 * @return
	 */
	Page selectOrderFlowPage(Page page, Wrapper wrapper);

	boolean updateShip(MerchantOrder merchant_order) throws Exception;

	MerchantOrderVo selectVoOne(Wrapper wrapper);

}
